package edu.jd.movieplatform.security.login.dao;

import edu.jd.movieplatform.security.login.LoginDto;
import org.apache.ibatis.annotations.Select;

public interface LoginDao {

    @Select("select count(cust_username) from customer where cust_username = #{cust_name} and password = #{password}")
     int findCountByUserNameAndPwd(LoginDto dto);

}
